package com.xinjie.www.service.user;

import com.xinjie.www.po.User;

import java.util.Date;
import java.util.List;

public interface UserService {
    public User login(String userName, String password);

    public boolean updateUsername(int id, String newUserName, String oldUserName);

    public boolean updatePassword(int id, String password);

    public boolean updateSign(int id, String sign);

    public boolean registerUser(String name, String password, String sex, String birthday, String sign);

    public List<User> getAllUser();

    //获取被封禁用户
    public List<User> getBanUser(int tiebaId);
}
